.register-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-image: url('../assets/images/login_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.register-background {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10%;
}

.register-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  padding: 20px;
}

.register-card {
  background: rgba(20, 20, 30, 0.85);
  backdrop-filter: blur(15px);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.register-card .ant-card-body {
  padding: 40px 32px 32px;
}

.register-header {
  text-align: center;
  margin-bottom: 32px;
}

.register-logo {
  margin-bottom: 16px;
}

.register-container .logo-icon {
  font-size: 40px;
  color: #1890ff;
  background: linear-gradient(135deg, #1890ff, #722ed1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.register-title {
  font-size: 28px;
  font-weight: 600;
  color: #ff9933;
  margin: 0 0 8px 0;
  text-shadow: 0 0 20px rgba(255, 153, 51, 0.5);
}

.register-subtitle {
  font-size: 14px;
  color: #ff9933;
  margin: 0;
  font-weight: 400;
  text-shadow: 0 0 15px rgba(255, 153, 51, 0.4);
}

/* 步骤指示器样式 */
.register-container .steps-container {
  margin-bottom: 32px;
  padding: 0 16px;
}

.register-container .ant-steps {
  font-size: 12px;
}

.register-container .ant-steps-item-title {
  font-size: 12px !important;
  font-weight: 500;
}

.register-container .ant-steps-item-description {
  font-size: 11px;
  color: #8c8c8c;
}

.register-container .ant-steps-item-process .ant-steps-item-icon {
  background: #1890ff;
  border-color: #1890ff;
}

.register-container .ant-steps-item-finish .ant-steps-item-icon {
  background: #52c41a;
  border-color: #52c41a;
}

.register-container .ant-steps-item-wait .ant-steps-item-icon {
  background: #fff;
  border-color: #d9d9d9;
}

/* 步骤内容样式 */
.register-container .step-content {
  margin-bottom: 24px;
}

/* 表单样式 */
.register-container .ant-form-item {
  margin-bottom: 20px;
}

.register-container .ant-form-item-label > label {
  color: #ffffff;
  font-size: 14px;
}

.register-container .ant-input,
.register-container .ant-input-password {
  border-radius: 4px;
  /* border: 1px solid rgba(255, 255, 255, 0.2) !important; */
  background: transparent !important;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #ffffff !important;
}

/* 确保input元素本身也是透明背景 */
.register-container input.ant-input {
  background: transparent !important;
}

/* 强制覆盖任何默认的白色背景 */
.register-container .ant-input-affix-wrapper {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.register-container .ant-input-affix-wrapper:hover {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.register-container .ant-input-affix-wrapper-focused,
.register-container .ant-input-affix-wrapper:focus {
  background: transparent !important;
  border-color: #40a9ff !important;
  box-shadow: 0 0 0 2px rgba(64, 169, 255, 0.2) !important;
}

/* 确保输入框内部wrapper也是透明的 */
.register-container .ant-input-affix-wrapper .ant-input {
  background: transparent !important;
}

.register-container .ant-input::placeholder,
.register-container .ant-input-password input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.register-container .ant-input:focus,
.register-container .ant-input-password:focus,
.register-container .ant-input-focused,
.register-container .ant-input-password-focused,
.register-container .ant-input.ant-input-status-error,
.register-container .ant-input.ant-input-status-warning {
  border-color: #40a9ff !important;
  box-shadow: 0 0 0 2px rgba(64, 169, 255, 0.2) !important;
  background: transparent !important;
}

.register-container .ant-input.ant-input-status-error:focus,
.register-container .ant-input.ant-input-status-warning:focus {
  border-color: #40a9ff !important;
  box-shadow: 0 0 0 2px rgba(64, 169, 255, 0.2) !important;
  background: transparent !important;
}

.register-container .ant-input.ant-input-status-error:hover,
.register-container .ant-input.ant-input-status-warning:hover,
.register-container .ant-input-password.ant-input-status-error:hover,
.register-container .ant-input-password.ant-input-status-warning:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: transparent !important;
}

.register-container .ant-input:hover,
.register-container .ant-input-password:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: transparent !important;
}

.register-container .input-icon {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* 密码输入框修复 */
.register-container .ant-input-password {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

.register-container .ant-input-password input {
  color: #ffffff !important;
  background: transparent !important;
  border: none;
  outline: none;
  z-index: 2;
  position: relative;
}

.register-container .ant-input-password.ant-input-status-error,
.register-container .ant-input-password.ant-input-status-warning {
  background: transparent;
}

.register-container .ant-input-password.ant-input-status-error:focus,
.register-container .ant-input-password.ant-input-status-warning:focus {
  background: transparent;
}

.register-container .ant-input-password input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* 密码输入框的眼睛图标颜色 */
.register-container .ant-input-password-icon {
  color: rgba(255, 255, 255, 0.6);
  z-index: 3;
  position: relative;
}

.register-container .ant-input-password-icon:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* 操作按钮样式 */
.register-container .step-actions {
  text-align: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.register-container .ant-btn {
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  min-width: 100px;
  transition: all 0.3s ease;
}

.register-container .ant-btn-primary {
  background: #40a9ff;
  border: none;
  box-shadow: 0 4px 12px rgba(64, 169, 255, 0.3);
}

.register-container .ant-btn-primary:hover {
  background: #69c0ff;
  box-shadow: 0 6px 16px rgba(64, 169, 255, 0.4);
  transform: translateY(-1px);
}

.register-container .ant-btn-default {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
}

.register-container .ant-btn-default:hover {
  border-color: #40a9ff;
  color: #40a9ff;
  background: rgba(64, 169, 255, 0.1);
  transform: translateY(-1px);
}

/* 成功页面样式 */
.register-container .success-content {
  text-align: center;
  padding: 40px 20px;
}

.register-container .success-icon {
  margin-bottom: 24px;
}

.success-icon .anticon {
  font-size: 72px;
  color: #52c41a;
}

.register-container .success-title {
  font-size: 24px;
  font-weight: 600;
  color: #262626;
  margin: 0 0 16px 0;
}

.register-container .success-description {
  font-size: 14px;
  color: #8c8c8c;
  line-height: 1.6;
  margin-bottom: 32px;
}

.register-container .success-actions {
  margin-top: 24px;
}

/* 分割线样式 */
.register-container .ant-divider {
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  border-color: rgba(255, 255, 255, 0.2);
}

.register-container .ant-divider-inner-text {
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  padding: 0 16px;
}

.register-container .ant-divider-horizontal.ant-divider-with-text::before,
.register-container .ant-divider-horizontal.ant-divider-with-text::after {
  border-top-color: rgba(255, 255, 255, 0.2);
}

/* 底部按钮 */
.register-footer {
  margin-top: 16px;
}

.register-container .login-button {
  height: 40px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
  transition: all 0.3s ease;
}

.register-container .login-button:hover {
  border-color: #40a9ff;
  color: #40a9ff;
  background: rgba(64, 169, 255, 0.1);
  transform: translateY(-1px);
}

/* 选择器样式 - 统一为与登录页输入框相同的样式 */
.register-container .ant-select {
  font-size: 14px;
}

.register-container .ant-select-single .ant-select-selector {
  height: 40px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: transparent !important;
  transition: all 0.3s ease;
  color: #ffffff;
  padding: 0 11px;
  display: flex;
  align-items: center;
}

.register-container .ant-select-multiple .ant-select-selector {
  min-height: 40px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: transparent !important;
  transition: all 0.3s ease;
  color: #ffffff;
  padding: 4px 11px;
}

.register-container .ant-select:hover .ant-select-selector {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: transparent !important;
}

.register-container .ant-select-focused .ant-select-selector,
.register-container .ant-select-open .ant-select-selector {
  border-color: #40a9ff !important;
  box-shadow: 0 0 0 2px rgba(64, 169, 255, 0.2) !important;
  background: transparent !important;
}

.register-container .ant-select-single .ant-select-selector .ant-select-selection-search .ant-select-selection-search-input,
.register-container .ant-select-multiple .ant-select-selector .ant-select-selection-search .ant-select-selection-search-input {
  color: #ffffff !important;
  background: transparent !important;
}

.register-container .ant-select-single .ant-select-selector .ant-select-selection-item {
  color: #ffffff !important;
  line-height: 46px;
}

.register-container .ant-select-single .ant-select-selector .ant-select-selection-placeholder {
  color: rgba(255, 255, 255, 0.5);
  line-height: 46px;
}

.register-container .ant-select-multiple .ant-select-selector .ant-select-selection-placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.register-container .ant-select-multiple .ant-select-selection-item {
  background: rgba(64, 169, 255, 0.2);
  border: 1px solid rgba(64, 169, 255, 0.4);
  border-radius: 4px;
  font-size: 12px;
  padding: 2px 6px;
  margin: 2px;
  color: #ffffff;
}

.register-container .ant-select-multiple .ant-select-selection-item-remove {
  color: rgba(255, 255, 255, 0.8);
}

.register-container .ant-select-multiple .ant-select-selection-item-remove:hover {
  color: #ffffff;
}

/* 选择器箭头图标 */
.register-container .ant-select-arrow {
  color: rgba(255, 255, 255, 0.6);
}

.register-container .ant-select:hover .ant-select-arrow {
  color: rgba(255, 255, 255, 0.8);
}

/* 清除图标 */
.register-container .ant-select-clear {
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
}

.register-container .ant-select-clear:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* 选择器下拉菜单样式 */
.register-container .ant-select-dropdown {
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.register-container .ant-select-dropdown .ant-select-item {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.register-container .ant-select-dropdown .ant-select-item:hover {
  background: rgba(64, 169, 255, 0.1);
  color: #ffffff;
}

.register-container .ant-select-dropdown .ant-select-item-option-selected {
  background: rgba(64, 169, 255, 0.2);
  color: #40a9ff;
  font-weight: 500;
}

.register-container .ant-select-dropdown .ant-select-item-option-active {
  background: rgba(64, 169, 255, 0.15);
  color: #ffffff;
}

.register-container .ant-select-dropdown .ant-select-item-option-disabled {
  color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
}

/* 空状态 */
.register-container .ant-select-dropdown .ant-empty-description {
  color: rgba(255, 255, 255, 0.5);
}

/* Steps 样式调整 */
.register-container .ant-steps-item-title {
  color: rgba(255, 255, 255, 0.8) !important;
}

.register-container .ant-steps-item-description {
  color: rgba(255, 255, 255, 0.5) !important;
}

.register-container .ant-steps-item-process .ant-steps-item-title,
.register-container .ant-steps-item-finish .ant-steps-item-title {
  color: #ffffff !important;
}

/* 成功页面文字颜色 */
.register-container .success-title {
  color: #ffffff !important;
}

.register-container .success-description {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* 响应式设计 */
@media (max-width: 1366px) {
  .register-background {
    padding-right: 5%;
  }
}

@media (max-width: 768px) {
  .register-background {
    justify-content: center;
    padding-right: 0;
  }
  
  .register-content {
    max-width: 480px;
    padding: 16px;
  }
  
  .register-card .ant-card-body {
    padding: 32px 24px 24px;
  }
  
  .register-title {
    font-size: 24px;
  }
  
  .register-container .logo-icon {
    font-size: 40px;
  }
  
  .steps-container {
    padding: 0 8px;
  }
  
  .register-container .ant-steps-item-title {
    font-size: 11px !important;
  }
  
  .register-container .ant-steps-item-description {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .register-content {
    max-width: 320px;
    padding: 12px;
  }
  
  .register-card .ant-card-body {
    padding: 24px 20px 20px;
  }
  
  .register-title {
    font-size: 20px;
  }
  
  .register-container .logo-icon {
    font-size: 36px;
  }
  
  .register-container .ant-col {
    margin-bottom: 8px;
  }
  
  .step-actions .ant-space {
    flex-direction: column;
    width: 100%;
  }
  
  .step-actions .ant-space-item {
    width: 100%;
  }
  
  .step-actions .ant-btn {
    width: 100%;
    margin-bottom: 8px;
  }
}

/* 加载状态 */
.register-container .ant-btn-loading {
  pointer-events: none;
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.register-card {
  animation: fadeInUp 0.6s ease-out;
}

.register-container .step-content {
  animation: fadeInUp 0.4s ease-out;
}

.register-container .success-content {
  animation: fadeInUp 0.6s ease-out;
} 